package com.seeyon.apps.ext.kingdee.manager;



import com.seeyon.apps.ext.kingdee.dao.kingdeeDao;
import com.seeyon.ctp.common.AppContext;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;

@Service
public class kingdeeManagerImpl implements kingdeeManager {


    private kingdeeDao kingdeeDao;


    public kingdeeDao getKingdeeDao() {
        if (kingdeeDao == null) {
            kingdeeDao = (kingdeeDao) AppContext.getBean("kingdeeDao");
        }
        return kingdeeDao;
    }


    @Override
    public List<Object> geAttachment(String bizId,String docNmae,String docNmae2) {
        return getKingdeeDao().geAttachment(bizId,docNmae,docNmae2);
    }

    @Override
    public Map<String, Object> geAttachmentFile(String attachmentId)
    {
        return getKingdeeDao().geAttachmentFile(attachmentId);
    }

}